Auto merge of #3007 - whitequark:opt-level-s, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 18 Aug 2016 15:06:09 +0000 (08:06 -0700)
committerGitHub <noreply@github.com>
Thu, 18 Aug 2016 15:06:09 +0000 (08:06 -0700)
commit22fccc102e44db5511eb6ad2dd82d19320a81afc
tree1e0d5daff170cdb7d26cb26acd7e88e1a406fa4d
parent4c219617274fe59f3b9d847e0e005ebc96a6bb2b
parentbc858b0499992d985a97654ef7d2391ee6ab1b83
Auto merge of #3007 - whitequark:opt-level-s, r=alexcrichton

Allow using opt-level="s"/"z" in profile overrides

Initially, I've considered making a dedicated `OptLevel` enum, but this appeared to bring no practical benefit, only boilerplate, so I've used a String instead, which is also in line with the `u32` that was there before, not even checked for being in range `0...3`.